package cn.ven.mapper;

import cn.ven.entity.Focus;
import cn.ven.entity.FocusUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FocusMapper extends BaseMapper<Focus> {
    public List<FocusUser> findAllFocusedUser(@Param("focuseduid")int focusedUid, @Param("uid") int uid);//查看自己的粉丝
    public List<FocusUser> findAllFocusUser(@Param("uid") int uid);//查看关注的人
}
